package com.zb.vo;

import com.zb.annotation.NumberPattern;
import com.zb.utils.VerificUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author WEN
 * @Date 2023/10/18 0018
 **/
@Data
@ApiModel("服务商服务模板结算对象")
public class NetworkModuleSettlementVo {

    @ApiModelProperty(value = "服务模块结算ID，新增不必传，修改必传")
    private Long id;

    @ApiModelProperty(value = "模块ID")
    private Long moduleId;

    @NumberPattern(regexp = VerificUtil.FLOATING_NUMBER_10_2, message = "费用金额最多允许输入8位整数，两位小数")
    @ApiModelProperty(value = "服务商结算价")
    private BigDecimal price;
}
